package com.youi.model;

import com.youi.entity.Goods;
import com.youi.entity.MarketAdvertisement;

import java.io.Serializable;

/**
 * @description:
 * @Author: winty
 * @Date: 2020/5/17 11:36
 */
public class GoodsAndAds implements Serializable {

    /**
     * type=1是商品  type=2是广告
     */
    private Integer type;
    /**
     * 商品内容
     */
    private Goods goods;
    /**
     * 广告内容
     */
    private MarketAdvertisement advertisement;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public MarketAdvertisement getAdvertisement() {
        return advertisement;
    }

    public void setAdvertisement(MarketAdvertisement advertisement) {
        this.advertisement = advertisement;
    }
}
